package com.woniuxy.entity;


//今天作业，完成rbac_perm整个表的CRUD和列表查询。
public class RbacPerm {
    int mainid;//对应数据库的主键id
    String pname;
    String pcode;
    String plink;
    String fid;//对应数据的 pid
    String ptype;
    String pstatus;

    @Override
    public String toString() {
        return "RbacPerm{" +
                "mainid=" + mainid +
                ", pname='" + pname + '\'' +
                ", pcode='" + pcode + '\'' +
                ", plink='" + plink + '\'' +
                ", fid='" + fid + '\'' +
                ", ptype='" + ptype + '\'' +
                ", pstatus='" + pstatus + '\'' +
                '}';
    }

    public int getMainid() {
        return mainid;
    }

    public void setMainid(int mainid) {
        this.mainid = mainid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getPlink() {
        return plink;
    }

    public void setPlink(String plink) {
        this.plink = plink;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getPtype() {
        return ptype;
    }

    public void setPtype(String ptype) {
        this.ptype = ptype;
    }

    public String getPstatus() {
        return pstatus;
    }

    public void setPstatus(String pstatus) {
        this.pstatus = pstatus;
    }
}
